package com.ccys.db.entity;

import com.ccys.db.rely.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import java.math.BigDecimal;
import javax.persistence.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
* Created by Mybatis Generator on 2023/12/18
*/
@Data
@Table(name = "tbl_member_delivery_address")
@NoArgsConstructor
@AllArgsConstructor
public class TblMemberDeliveryAddress extends BaseEntity {
    @Column(name = "country_id")
    private String countryId;

    @Column(name = "mem_id")
    private String memId;

    @Column(name = "first_name")
    private String firstName;

    @Column(name = "last_name")
    private String lastName;

    private String phone;

    @Column(name = "postal_code")
    private String postalCode;

    private String address;

    @Column(name = "detail_address")
    private String detailAddress;

    /**
     * 州
     */
    @ApiModelProperty("州")
    private String state;

    @Column(name = "floor_number")
    private String floorNumber;

    private BigDecimal latitude;

    private BigDecimal longitude;

    @Column(name = "is_default")
    private Integer isDefault;

    /**
     * tbl_delivery_country_location的id
     */
    @Column(name = "dcl_id")
    @ApiModelProperty("tbl_delivery_country_location的id")
    private String dclId;

    /**
     * 越南使用,对应City
     */
    @Column(name = "tier_1")
    @ApiModelProperty("越南使用,对应City")
    private String tier1;

    /**
     * 越南使用,对应District
     */
    @Column(name = "tier_2")
    @ApiModelProperty("越南使用,对应District")
    private String tier2;

    /**
     * 越南使用,对应Ward
     */
    @Column(name = "tier_3")
    @ApiModelProperty("越南使用,对应Ward")
    private String tier3;

    private String instructions;
}